using System;
using System.Runtime.InteropServices;
using System.Text;

namespace octalforty.Componento.Core.ApplicationServices.Impl
{
    internal static class NativeMethods
    {
        [DllImport("kernel32")]
        internal static extern long WritePrivateProfileString(string section, string key, string val, string filePath);

        [DllImport("kernel32")]
        internal static extern int GetPrivateProfileString(string section, string key, string def, StringBuilder retVal, int size, string filePath);

        [DllImport("kernel32")]
        internal static extern int GetPrivateProfileSection(string section, IntPtr lpReturnedString, int nSize, string lpFileName);
    }
}